<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link href="css/blue/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-latest.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("#myTable").tablesorter({
			sortList : [ [ 0, 0 ], [ 1, 0 ] ]
		});
	});
</script>
</head>
<body>
	<div>First Name :</div>
	<table id="myTable" class="tablesorter">
		<thead>
			<tr>
				<th>ID</th>
				<th>Contact Name</th>
				<th>Mobile Phone</th>
				<th>Email</th>
				<th>Contact Type</th>
				<th>Is Active ?</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="listContact">
				<tr>
					<td><s:property value="contactId" /></td>
					<td><s:property value="firstName" />
						<s:property value="surName" /></td>
					<td><s:property value="mobilePhone" /></td>
					<td><s:property value="email" /></td>
					<td><s:property value="contactType" /></td>
					<td><s:property value="isActive" /></td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
	<div>
		<%-- <s:a href="prevPage?beginPage=%{0}">First</s:a>| --%>
		<s:a href="prevPage">Prev</s:a>
		<s:property value="currentPage" />
		Of
		<s:property value="totalPage" />
		<s:a href="nextPage">Next</s:a>
		<%-- |<s:a href="prevPage?beginPage=%{beginPage}">Last</s:a> --%>
	</div>
</body>
</html>